package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TiBusiEsp;
import com.tjmc.tiomscore.model.TiBusiEspExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TiBusiEspMapper extends TranPtnHwSuperMapper<TiBusiEsp> {
    long countByExample(TiBusiEspExample example);

    int deleteByExample(TiBusiEspExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TiBusiEsp record);

    int insertSelective(TiBusiEsp record);

    List<TiBusiEsp> selectByExample(TiBusiEspExample example);

    TiBusiEsp selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TiBusiEsp record, @Param("example") TiBusiEspExample example);

    int updateByExample(@Param("record") TiBusiEsp record, @Param("example") TiBusiEspExample example);

    int updateByPrimaryKeySelective(TiBusiEsp record);

    int updateByPrimaryKey(TiBusiEsp record);
}